derive demand with the help of indifference curve and budget constraints